package com.ruoyi.appService.images.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.BaseDTO;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 轮播图信息对象 z_images
 *
 * @author yuqihe
 * @date 2025-04-23
 */
@Data
//@TableName(resultMap = "com.ruoyi.appService.images.mapper.ZImagesMapper.ZImagesResult")
@TableName("z_images")
public class ZImages extends BaseDTO {


    /**
     * 图片
     */
    @Excel(name = "图片")
    private String avatar;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String altText;

    /**
     * 跳转地址
     */
    private String linkUrl;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long orderNum;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("avatar", getAvatar())
                .append("altText", getAltText())
                .append("linkUrl", getLinkUrl())
                .append("orderNum", getOrderNum())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("isDel", getIsDel())
                .toString();
    }
}